//
//  ZPBAllCollectionReusableView.m
//  WZLProduct
//
//  Created by boys on 16/3/28.
//  Copyright © 2016年 HaiTeng. All rights reserved.
//

#import "ZPBAllCollectionReusableView.h"

@implementation ZPBAllCollectionReusableView

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        [self createViews];
    }
    return self;
}


- (void)setNameString:(NSString *)nameString {
    _nameString = nameString;
    
    _headerLabel.text = nameString;
    
}

- (void)createViews {
    
    self.headerLabel = [[UILabel alloc] init];
    [self addSubview:_headerLabel];
    
}

- (void)layoutSubviews {
    [super layoutSubviews];
    self.headerLabel.frame = CGRectMake(10, 5, 375, 30);
    _headerLabel.textColor = [UIColor grayColor];
    
}

@end
